package com;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import com.demo.DbUtil;

public class ExcelToDB {
	Connection conn = null;
	PreparedStatement ps = null;
	
	public boolean insertDB(String filePath) throws FileNotFoundException{
		boolean flag = true;
		
		try {
			conn = DbUtil.getConnection();
			FileInputStream fin = new FileInputStream(filePath);
//			HSSFWorkbook wordbook = new HSSFWorkBook(fin);
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return flag;
	}
}	
